Microeconomics lab 1

Zihan Zhang, 09/06/2024

0. Warm-up

Some math concepts here.

 

1. Unconstraint maximization

Consider the following optimization problem:

(4)max/min f(x)=f(x1,,xn)

The first order conditions are:

(5)fxi(x)=0 for i=1,,n

Critical points are the solutions to the first-order conditions of a function. These points can indicate either a minimum or maximum, but they do not always guarantee either. This is because first-order conditions are necessary, but not sufficient, to determine whether a critical point is an extremum.

Sufficient second order conditions for unconstrained local maximum (minimum) is that Hessian matrix is negative (positive) definite at the critical points.

Define the Hessian matrix:

(6)D2f=H=(f11f12f1nfn1fn2fnn)n×n

When n=2,

(7)H=(f11f12f21f22)

For a minimization problem, we need this Hessian matrix to be positive definite. Thus, we need the first order and second order leading principal minors to be non-negative,

(8){f110f11f22f12f120

For a maximization problem, we need this Hessian matrix to be negative definite. Thus, the first order leading principal minor has to be non-positive (0) and the second order leading principal minor has to be non-negative (0).

(9){f110f11f22f12f210

Question 1

check the second order conditions at the critical points of F(x,y)=x3y3+9xy

 

2. Constraint maximization - one equality condition

Consider the following optimization problem,

(10)max/min f(x)=f(x1,,xn)s.t. g(x1,x2,,xn)=0

For this type of problems, we can set up one Lagrangian function:

(11)L=f(x1,x2,,xn)λg(x1,x2,,xn)

The FOCs are the necessary conditions:

(12)Lxi=fiλgi=0

Sufficient second order conditions for constrained local max(min) is that Hessian matrix is negative(positive) definite under the constraints at the critical points. To find this, we need to check bordered Hessian matrix.

For example, for the optimization problem above, we can derive the bordered Hessian matrix by:

(13)Hb=(0g1g2gng1f11f12f1ngnfn1fn2fnn)(n+1)×(n+1)

A Hessian matrix is negative definite under the constraints means that

A Hessian matrix is positive definite under the constraints means that

Question 2

Max f=x12+2x1x2x22 such that g=x1+x2 . check the sufficient conditions.

 

3. Optimization with inequality constraint

We need to set up a Kunn-Tucker Lagrangian.

Question 3

Solve the following constrained maximization problem using Kuhn Tucker conditions :

(14)maxx1+x2

subject to

(15)x1+2x2Mx10x20

Assume M​ is positive.

 

4. Envelope theorem

let f be a continuously differentiable function of n+k variables. Define the function f of k variables by

(16)f(r)=maxxf(x,r)=f(x(r),r)

where x is an n-vector and r is a k-vector. if the solution of the maximization problem is a continuously differentiable function of r , then:

(17)fh(r)=fn+h(x(r),r)

 

The meaning of the Lagrangian multiplier

Suppose the production function takes the form as:

(18)y=f(x)

We are going to maximize the production given the constraints g(x)c.

Construct the Lagrange function:

(19)L(x,c,λ)=f(x)λ[g(x)c]

At the optimal, we must have:

(20)g(x)=c

According to the envelope theorem,

(21)L(x,c,λ)c=λ=f(x(c))c

Therefore, λ measures the sensitivity the f change with respect to c change.